Part Number Hot Search : 
HER3001 KRA322E 6KE250 MAX32 SC4626 AT89C51 FAIV10 TA0401A
Product Description
Full Text Search
 

To Download DS3503U Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 Rev 1; 3/09
NV, I2C, Stepper Potentiometer
General Description
The DS3503 features two synchronized stepping digital potentiometers: one 7-bit potentiometer with RW as its output, and another potentiometer with Y as its output. Both potentiometers reference the RH and RL terminals and feature an output voltage range of up to 15.5V. In addition, both potentiometer outputs can be stepped up and down by configuring the control registers. Programming is accomplished by an I2C-compatible interface that can operate at speeds of up to 400kHz.
Features
128 Wiper Tap Points Full-Scale Resistance: 5k Programmable Logic Lets WR Step Up and Down with Timing Controlled by SYNC Input Second Potentiometer Output Pin (Y) Centered at Position 40h I2C-Compatible Serial Interface Digital Operating Voltage: 2.7V to 3.6V Analog Operating Voltage: 4.5V to 15.5V Operating Temperature: -40C to +100C 10-Pin SOP Package
DS3503
Applications
TFT-LCD VCOM Calibration Instrumentation and Industrial Controls Mechanical Potentiometer Replacement
Pin Configuration
TOP VIEW
SDA GND VCC SYNC Y 1 2 3 4 5 DS3503 10 9 8 7 6 SCL V+ RL RW RH
Ordering Information
PART DS3503U+ DS3503U+T&R TEMP RANGE -40C to +100C -40C to +100C PIN-PACKAGE 10 SOP 10 SOP
+Denotes a lead(Pb)-free/RoHS-compliant package. T&R = Tape and reel.
Typical Operating Circuit appears at end of data sheet.
SOP
Functional Diagram
WR+STEPCOUNT I2C WR BUS IVR EEPROM ADDRESS I2C RD BUS COUNT V+ VCC GND PERIOD (2 BITS) STEP COUNT (2 BITS) SYNC STEP CONTROL REGISTER STEP COUNTER AND CONTROL LOGIC MUX I O WR REGISTER ADDRESS RH 1 LSB WR 7-BIT POT RW PERIOD RL RH 1 LSB CODE 64 (40h) 7-BIT POT Y CODE 64 (40h) SCL SDA SCL SDA OUT
I2C LOGIC
WR-STEPCOUNT
CODE 64 (40h) + STEPCOUNT
DS3503
RL
PERIOD
CODE 64 (40h) - STEPCOUNT
________________________________________________________________ Maxim Integrated Products
1
For pricing, delivery, and ordering information, please contact Maxim Direct at 1-888-629-4642, or visit Maxim's website at www.maxim-ic.com.
NV, I2C, Stepper Potentiometer DS3503
ABSOLUTE MAXIMUM RATINGS
Voltage Range on VCC Relative to GND ...............-0.5V to +6.0V Voltage Range on V+ Relative to GND ..................-0.5V to +17V Voltage Range on SDA, SCL, and SYNC Relative to VCC ........-0.5V to (VCC + 0.5V), not to exceed 6.0V Voltage Range on RH, RL, RW, and Y .......................-0.5V to V+ Voltage Range Across RH and RL .............................-0.5V to V+ Operating Temperature Range .........................-40C to +100C Programming Temperature Range .........................0C to +70C Storage Temperature Range .............................-55C to +125C Soldering Temperature...........................Refer to the IPC/JEDEC J-STD-020 Specification.
Stresses beyond those listed under "Absolute Maximum Ratings" may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.
RECOMMENDED OPERATING CONDITIONS
(TA = -40C to +100C)
PARAMETER VCC Supply Voltage V+ Voltage Input Logic 0 (SCL, SDA, SYNC) Input Logic 1 (SCL, SDA, SYNC) Switch Current (All Switches) Resistor Current SYNC Frequency VIL VIH ISW IRES f SYNC SYMBOL VCC (Note 1) V+ > VCC (Note 1) (Note 1) (Note 1) CONDITIONS MIN +2.7 +4.5 -0.3 0.7 x VCC TYP MAX +3.6 +15.5 0.3 x VCC VCC + 0.3 3 3 1 UNITS V V V V mA mA MHz
ELECTRICAL CHARACTERISTICS
(VCC = +2.7V to +3.6V, TA = -40C to +100C, unless otherwise noted.)
PARAMETER VCC Standby Current VCC Supply Current (NV Read or Write) V+ Bias Current Input Leakage (SDA, SCL, SYNC) Low-Level Output Voltage (SDA) DCP Wiper Response Time I/O Capacitance Power-Up Recall Voltage Power-Up Memory Recall Delay Wiper Resistance End-to-End Resistance (RH to RL) RTOTAL Tolerance CH, CL, CW Capacitance CPOT SYMBOL ISTBY ICC I V+ IL VOL tDCP CI/O VPOR tD RW RTOTAL -20 10 Min VCC when NV memory is recalled (Note 4) VCC > V POR to initial memory recall done (Note 5) V+ = 15.0V 5 +20 1.2 5 3mA sink current -1 0 CONDITIONS VCC = +3.6V, I2C inactive (Note 2) f SCL = 400kHz (Note 3) MIN TYP MAX 10 3 +1 +1 0.4 1 10 2.6 3 5000 k % pF UNITS A mA A A V s pF V ms
2
_______________________________________________________________________________________
NV, I2C, Stepper Potentiometer
VOLTAGE-DIVIDER CHARACTERISTICS
(VCC = +2.7V to +3.6V, TA = -40C to +100C, with RL = 0V, RH = V+, Y, and RW unloaded, unless otherwise noted.)
PARAMETER Integral Nonlinearity Differential Nonlinearity Output Matching Zero-Scale Error Full-Scale Error Ratiometric Temp Coefficient ZSERROR FSERROR TCV (Note 8) (Note 9) WR/IVR set to 40h SYMBOL INL DNL (Note 6) (Note 7) CONDITIONS MIN -1 -0.5 -1 0 -2 0.5 -1 4 TYP MAX +1 +0.5 +1 2 0 UNITS LSB LSB LSB LSB LSB ppm/C
DS3503
I2C AC ELECTRICAL CHARACTERISTICS
(VCC = +2.7V to +3.6V, TA = -40C to +100C, timing referenced to VIL(MAX) and VIH(MIN). See Figure 2.)
PARAMETER SCL Clock Frequency Bus-Free Time Between STOP and START Conditions Hold Time (Repeated) START Condition Low Period of SCL High Period of SCL Data Hold Time Data Setup Time START Setup Time SDA and SCL Rise Time SDA and SCL Fall Time STOP Setup Time SDA and SCL Capacitive Loading EEPROM Write Time Pulse-Width Suppression Time at SDA and SCL Inputs SDA and SCL Input Buffer Hysteresis SYMBOL f SCL tBUF tHD:STA tLOW tHIGH tHD:DAT t SU:DAT t SU:STA tR tF t SU:STO CB tW t IN (Note 11) (Note 12) (Note 13) 10 50 0.05 x VCC (Note 11) (Note 11) (Note 10) CONDITIONS MIN 0 1.3 0.6 1.3 0.6 0 100 0.6 20 + 0.1CB 20 + 0.1CB 0.6 400 20 300 300 0.9 TYP MAX 400 UNITS kHz s s s s s ns s ns ns s pF ms ns V
_______________________________________________________________________________________
3
NV, I2C, Stepper Potentiometer DS3503
NONVOLATILE MEMORY CHARACTERISTICS
(VCC = +2.7V to +3.6V, unless otherwise noted.)
PARAMETER EEPROM Write Cycles SYMBOL TA = +70C CONDITIONS MIN 30,000 TYP MAX UNITS Writes
Note 1: Note 2: Note 3: Note 4: Note 5: Note 6:
Note 7:
Note 8: Note 9: Note 10: Note 11: Note 12: Note 13:
All voltages are referenced to ground. Currents entering the IC are specified positive and currents exiting the IC are negative. ISTBY is specified with SDA = SCL = VCC and resistor pins floating. ICC is specified with the following conditions: SCL = 400kHz, SDA pulled up, and RL, RW, RH, and Y floating. This is the minimum VCC voltage that causes NV memory to be recalled. This is the time from VCC > VPOR until initial memory recall is complete. Integral nonlinearity is the deviation of a measured resistor setting value from the expected values at each particular resistor setting. Expected value is calculated by connecting a straight line from the measured minimum setting to the measured maximum setting. INL = [V(RW)i - (V(RW)0]/LSB(ideal) - i, for i = 0...127. Differential nonlinearity is the deviation of the step-size change between two LSB settings from the expected step size. The expected LSB step size is the slope of the straight line from measured minimum position to measured maximum position. DNL = [V(RW)i+1 - (V(RW)i]/LSB(ideal) - 1, for i = 0...126. ZSERROR = code 0 wiper voltage divided by one LSB (ideal). FSERROR = (code 127 wiper voltage - V+) divided by one LSB (ideal). I2C interface timing shown is for fast-mode (400kHz) operation. This device is also backward-compatible with I2C standard mode timing. CB--total capacitance of one bus line in picofarads. EEPROM write time begins after a STOP condition occurs. Pulses narrower than max are suppressed.
Typical Operating Characteristics
(TA = +25C, unless otherwise noted.)
SUPPLY CURRENT vs. SUPPLY VOLTAGE
DS3503 toc01
SUPPLY CURRENT vs. TEMPERATURE
DS3503 toc02
SUPPLY CURRENT vs. SCL FREQUENCY
SDA = VCC = 3.6V, V+ = 15V SYNC = GND, SCL = 3.6VP-P RW, RH, RL, AND Y ARE FLOATING
DS3503 toc03
5
SDA = SCL = VCC, V+ = 15V, SYNC = GND RW, RH, RL, AND Y ARE FLOATING
5
SDA = SCL = VCC = 3.3V, V+ = 15V, SYNC = GND RW, RH, RL, AND Y ARE FLOATING
14 12 SUPPLY CURRENT (A) 10 8 6 4 2
4 SUPPLY CURRENT (A)
3
SUPPLY CURRENT (A)
4
3
2
1
2
0 2.7 2.8 2.9 3.0 3.1 3.2 3.3 3.4 3.5 3.6 SUPPLY VOLTAGE (V)
1 -40 -20 0 20 40 60 80 100 TEMPERATURE (C)
0 0 50 100 150 200 250 300 350 400 SCL FREQUENCY (kHz)
4
_______________________________________________________________________________________
NV, I2C, Stepper Potentiometer
Typical Operating Characteristics (continued)
(TA = +25C, unless otherwise noted.)
SUPPLY CURRENT vs. SYNC FREQUENCY
DS3503 toc04
DS3503
INTEGRAL NONLINEARITY vs. POTENTIOMETER SETTING
0.8 INTEGRAL NONLINEARITY (LSB) 0.6 0.4 0.2 0 -0.2 -0.4 -0.6 -0.8 SDA = SCL = VCC = 3.3V, V+ = 15V
DS3503 toc05
5
4 SUPPLY CURRENT (A)
SDA = SCL = VCC = 3.3V V+ = 15V, SYNC = 3.3VP-P RW, RH, RL, AND Y ARE FLOATING
1.0
3
2
1
0 0 200 400 600 800 1000 SYNC FREQUENCY (kHz)
-1.0 0 20 40 60 80 100 120 POTENTIOMETER SETTING (DEC)
DIFFERENTIAL NONLINEARITY vs. POTENTIOMETER SETTING
DS3503 toc06
DELTA BETWEEN RW AND Y vs. POTENTIOMETER SETTING
0.8 0.6 0.4 0.2 0 -0.2 -0.4 -0.6 -0.8 -1.0 SDA = SCL = VCC = 3.3V, V+ = 15V STEPCOUNT = 31
DS3503 toc07
0.5 DIFFERENTIAL NONLINEARITY (LSB) 0.4 0.3 0.2 0.1 0 -0.1 -0.2 -0.3 -0.4 -0.5 0
SDA = SCL = VCC = 3.3V, V+ = 15V
1.0 DIFFERENTIAL NONLINEARITY (LSB)
20
40
60
80
100
120
0
20
40
60
80
100
120
POTENTIOMETER SETTING (DEC)
POTENTIOMETER SETTING (DEC)
Pin Description
NAME SDA GND VCC SYNC Y RH RW RL V+ SCL PIN 1 2 3 4 5 6 7 8 9 10 I2C Serial Data. Input/output for I2C data. Ground Terminal Supply Voltage Terminal Stepping Clock Input. The rising edge updates the outputs. Code 40h Centered DAC Output High Terminal of Potentiometer Wiper Terminal of Potentiometer Low Terminal of Potentiometer Wiper Bias Voltage I2C Serial Clock. Input for I2C clock. FUNCTION
_______________________________________________________________________________________
5
NV, I2C, Stepper Potentiometer DS3503
Detailed Description
The DS3503 contains two potentiometers whose outputs can be stepped up and down by configuring the control registers. One potentiometer, with output RW, is controlled by the Initial Value Register/Wiper Register (IVR/WR). The other potentiometer is fixed at setting 40h, and its output is on the Y pin. By using the configuration registers and the SYNC pin, the outputs from these two potentiometers can be stepped up and down. Where WR is the wiper position in decimal (0-127). The factory default setting for this potentiometer is 40h. The Y potentiometer is also referenced to the RH and RL terminals, but is centered at a 40h setting.
Memory Map
The DS3503 contains three registers for controlling the outputs of the two potentiometers, pins RW and Y. Table 1 shows the memory map. IVR/WR is accessed at register address 00h and contains the power-on and current values of the RW potentiometer. The Step Control Register (SCR) controls the stepping function for both potentiometers. The Control Register (CR) controls the write functionality of the IVR/WR.
Digital Potentiometers
The RW potentiometer consists of 127 resistors in series connected between the RH and RL pins. Between each resistance and at the two end points, RH and RL, solid-state switches enable RW to be connected within the resistive network. The wiper position and the output on RW are decoded based on the value in WR. If RH, RL, and RW are externally connected in a voltage-divider configuration, the voltage on RW can be easily calculated using the following equation: WR VRW = VRL + x (VRH - VRL ) 127
Initial Value Register/Wiper Register (IVR/WR)
Programming IVR sets the initial power-up value of the RW wiper position. IVR/WR can be visualized as a volatile register (WR) in parallel with a nonvolatile register (IVR). On power-up, the data stored in IVR is loaded into WR, which sets the position of the potentiometer's wiper. The factory default value for IVR is 40h. See the Stepping section for information about clamping.
Table 1. Memory Map
NAME IVR/WR SCR CR Soft-POR ADDRESS (HEX) 00h 01h 02h AAh ACCESS R/W R/W R/W R/W NONVOLATILE Initial Value Register (IVR), factory setting = 40h Step Control Register, factory setting = 00h Control Register -- VOLATILE Wiper Register (WR) -- -- Soft Power-On Reset Register
6
_______________________________________________________________________________________
NV, I2C, Stepper Potentiometer
Step Control Register (SCR)
SCR determines the stepping functionality for the RW and Y potentiometers (see the Stepping section). The five LSBs, bits 4:0, control the STEPCOUNT, which is the number of steps up and down the wiper moves when stepping is enabled. Bits 5 and 6 control the PERIOD, which is the number of pulses of the SYNC pin required to perform one step. Setting STEPCOUNT to all zeros disables stepping for the DS3503. A STEPCOUNT of 1 is an invalid setting. The DS3503 should not be programmed with a STEPCOUNT value of 00001.
Stepping
The DS3503 can step the RW output up to WR+STEPCOUNT and down to WR-STEPCOUNT when stepping is enabled. Stepping is enabled when a nonzero STEPCOUNT value is programmed into SCR and pulses are applied to the SYNC input pin. Stepping is disabled when STEPCOUNT = 0 or no pulses are applied on the SYNC input pin. STEPCOUNT = 1 is an invalid setting. The falling edge of the SYNC pulse updates the outputs. The Y potentiometer output is created by adding to position 40h (code 64 decimal) the same counter value as is added to WR to form the input to the RW potentiometer. The WR value is internally limited (clamped) to a minimum of STEPCOUNT and maximum of 127 - STEPCOUNT. When stepping is enabled, the RW wiper position is controlled by WR plus a counter value (COUNT in the Functional Diagram). COUNT increments or decrements when the number of SYNC pulses received since the last COUNT change is equal to PERIOD. SCR bits 6:5 set PERIOD equal to 32, 64, 128, or 256 SYNC pulses (see Table 2). After power-up or after any I2C write to IVR/WR, CR, or SCR, stepping is initially disabled until 512 plus
DS3503
Control Register (CR)
CR located at register address 02h determines how I2C data is written to IVR/WR at 00h. When CR is set to a value of 00h, I2C writes to memory address 00h write to both WR and IVR. When CR is set to a value of 80h, I2C writes to memory address 00h write only to WR. Regardless of the CR setting, all I2C reads of address 00h return the contents of WR. CR is volatile and powers up as 00h, so I2C writes are to both the IVR and WR locations. The data that is stored in EEPROM and SRAM remains unchanged if the value of CR is changed. Table 3 defines CR.
Table 2. Step Control Register Description (01h)
BIT 4:0 NAME STEPCOUNT FUNCTION Bit 4 is the MSB; bit 0 is the LSB. These 5 bits define the number of steps in an up or down cycle. Maximum is 31, minimum is 2. A STEPCOUNT of zero corresponds to a disabled counter. 0, 0: PERIOD = 32 SYNC pulses 6:5 PERIOD 0, 1: PERIOD = 64 SYNC pulses 1, 0: PERIOD = 128 SYNC pulses 1, 1: PERIOD = 256 SYNC pulses 7 -- Reserved
Table 3. Control Register Description (02h)
BIT 6:0 7 NAME -- IVR/WR ADDRESS MODE Reserved 0: Read WR; write IVR and WR at address 00h. 1: Read WR; write WR at address 00h. FUNCTION
_______________________________________________________________________________________
7
NV, I2C, Stepper Potentiometer
PERIOD/2 pulses have been applied to the SYNC input. During this disable time, the power-up or new WR value is applied to the RW potentiometer and position 40h (code 64 decimal) is applied to the Y potentiometer. Additionally, the step counter is cleared during this disable time. After the initialization pulses, stepping is enabled again. The RW potentiometer starts from the power-up or new WR value and the Y potentiometer starts from position 40h (code 64 decimal). The step counter starts from zero in the up direction. The stepping function is further described as follows: An internal counter called PERIODCOUNT is set equal to PERIOD. The input to the RW potentiometer is WR + COUNT; the input to the Y potentiometer is code 64 + COUNT. When a SYNC pulse is received: PERIODCOUNT = PERIODCOUNT - 1 If PERIODCOUNT = 0 (underflow), the following actions occur: If direction is UP: COUNT = min (COUNT + 1, STEPCOUNT) RW = min (127 - STEPCOUNT, WR + COUNT); Y = 64 + COUNT PERIODCOUNT is reset to PERIOD If direction is DOWN: COUNT = max (COUNT - 1, -STEPCOUNT) RW = max (STEPCOUNT, WR - COUNT); Y = 64 - COUNT PERIODCOUNT is reset to PERIOD If COUNT = STEPCOUNT, direction is changed from UP to DOWN. If COUNT = -STEPCOUNT, direction is changed from DOWN to UP. In this way the RW output steps up to WR+STEPCOUNT, then steps down to WR-STEPCOUNT, and then repeats the cycle. The outputs of the RW and Y DACs change by one LSB = (VRH - VRL)/127 per PERIOD. STEPCOUNT and PERIOD are programmable from I2C and are stored in the nonvolatile SCR (Table 2). The STEPCOUNT 5-bit value programmed into SCR<4:0> controls the stepping range reflected in the RW or Y outputs per Table 4, assuming STEPCOUNT < IVR < 127 - STEPCOUNT: Example 1: WR = 41h (65 decimal): SCR<4:0> = STEPCOUNT = 10000 (16 decimal) RW range: 49 81 (decimal) Y range: 48 80 (decimal) Example 2: WR = 50h (80 decimal): SCR<4:0> = STEPCOUNT = 11000 (24 decimal) RW range: 56 104 (decimal) Y range: 40 88 (decimal) Example 3: Clamping at Lower Rail WR = 10h (16 decimal): SCR<4:0> = STEPCOUNT = 11111 (31 decimal) RW range: 0 62 (decimal) Y range: 33 95 (decimal) Example 4: Clamping at Upper Rail WR = 70h (112 decimal): SCR<4:0> = STEPCOUNT = 11111 (31 decimal) RW range: 65 127 (decimal) Y range: 33 95 (decimal)
DS3503
Table 4. DAC Stepping Range
SCR<4:0> (BINARY) 0 0000 0 0001 0 0010 0 0011 0 0100 0 0101 ... 1 1110 ... 1 1111 DAC RANGE Stepping disabled; WR is output Invalid setting. Do not program. WR-2 to WR+2 WR-3 to WR+3 WR-4 to WR+4 WR-5 to WR+5 ... WR-30 to WR+30 ... WR-31 to WR+31
8
_______________________________________________________________________________________
NV, I2C, Stepper Potentiometer
Table 5. Soft Power-On Reset Register Description (AAh)
BIT 6:0 7 NAME -- SOFT POR Reserved 0: Default value. 1: Recalls values of IVR, CR, and SCR from EEPROM. FUNCTION
DS3503
Soft Power-On Reset Register (Soft-POR)
By writing register AAh's MSB to 1, a soft power-on reset (soft-POR) can be generated. When the MSB is set to 1, the power-up default values of registers 00h, 01h, and 02h are recalled, and the MSB of AAh selfclears. This soft-POR can be used to recall power-on settings without cycling power to the DS3503.
START condition: A START condition is generated by the master to initiate a new data transfer with a slave. Transitioning SDA from high to low while SCL remains high generates a START condition. STOP condition: A STOP condition is generated by the master to end a data transfer with a slave. Transitioning SDA from low to high while SCL remains high generates a STOP condition. Repeated START condition: The master can use a repeated START condition at the end of one data transfer to indicate that it will immediately initiate a new data transfer following the current one. Repeated STARTs are commonly used during read operations to identify a specific memory address to begin a data transfer. A repeated START condition is issued identically to a normal START condition. Bit write: Transitions of SDA must occur during the low state of SCL. The data on SDA must remain valid and unchanged during the entire high pulse of SCL plus the setup and hold time requirements. Data is shifted into the device during the rising edge of the SCL.
I2C Serial Interface Description
I2C Definitions
The following terminology is commonly used to describe I 2 C data transfers. (See Figure 2 and the I 2 C AC Electrical Characteristics table for additional information.) Master device: The master device controls the slave devices on the bus. The master device generates SCL clock pulses and START and STOP conditions. Slave devices: Slave devices send and receive data at the master's request. Bus idle or not busy: Time between STOP and START conditions when both SDA and SCL are inactive and in their logic-high states.
SDA tBUF tF tLOW SCL tHD:STA tSP
tHIGH tHD:STA tR tHD:DAT STOP START tSU:DAT REPEATED START
tSU:STA
tSU:STO
NOTE: TIMING IS REFERENCED TO VIL(MAX) AND VIH(MIN).
Figure 2. I2C Timing Diagram
_______________________________________________________________________________________
9
NV, I2C, Stepper Potentiometer
Bit read: At the end of a write operation, the master must release the SDA bus line for the proper amount of setup time before the next rising edge of SCL during a bit read. The device shifts out each bit of data on SDA at the falling edge of the previous SCL pulse and the data bit is valid at the rising edge of the current SCL pulse. Remember that the master generates all SCL clock pulses, including when it is reading bits from the slave. Acknowledge (ACK and NACK): An Acknowledge (ACK) or Not Acknowledge (NACK) is always the 9th bit transmitted during a byte transfer. The device receiving data (the master during a read or the slave during a write operation) performs an ACK by transmitting a 0 during the 9th bit. A device performs a NACK by transmitting a 1 during the 9th bit. Timing for the ACK and NACK is identical to all other bit writes (Figure 2). An ACK is the acknowledgment that the device is properly receiving data. A NACK is used to terminate a read sequence or indicates that the device is not receiving data. Byte write: A byte write consists of 8 bits of information transferred from the master to the slave (most significant bit first) plus a 1-bit acknowledgment from the slave to the master. The 8 bits transmitted by the master are done according to the bit-write definition and the acknowledgment is read using the bit-read definition. Byte read: A byte read is an 8-bit information transfer from the slave to the master plus a 1-bit ACK or NACK from the master to the slave. The 8 bits of information that are transferred (most significant bit first) from the slave to the master are read by the master using the bit-read definition, and the master transmits an ACK using the bit-write definition to receive additional data bytes. The master must NACK the last byte read to terminate communication so the slave returns control of SDA to the master. Slave address byte: Each slave on the I 2C bus responds to a slave address byte sent immediately following a START condition. The slave address byte contains the slave address in the most significant 7 bits and the R/W bit in the least significant bit. The DS3503's slave address is 50h (see Figure 1). When the R/W bit is 0 (such as in 50h), the master is indicating it will write data to the slave. If R/W = 1 (51h in this case), the master is indicating it wants to read from the slave. If an incorrect slave address is written, the DS3503 assumes the master is communicating with another
DS3503
I2C device and ignores the communication until the next START condition is sent. Memory address: During an I2C write operation, the master must transmit a memory address to identify the memory location where the slave is to store the data. The memory address is always the second byte transmitted during a write operation following the slave address byte.
MSB 0 1 0 1 0 0 0
LSB R/W
SLAVE ADDRESS 50h
Figure 1. DS3503 Slave Address Byte
I2C Communication Writing a single byte to a slave: The master must generate a START condition, write the slave address byte (R/W = 0), write the memory address, write the byte of data, and generate a STOP condition. Remember the master must read the slave's acknowledgment during all byte-write operations. When writing to the DS3503, the potentiometer adjusts to the new setting once it has acknowledged the new data that is being written, and the EEPROM is written following the STOP condition at the end of the write command. To change the setting without changing the EEPROM, terminate the write with a repeated START condition before the next STOP condition occurs. Using a repeated START condition prevents the tW delay required for the EEPROM write cycle to finish. Acknowledge polling: Any time a EEPROM byte is written, the DS3503 requires the EEPROM write time (tW) after the STOP condition to write the contents of the byte to EEPROM. During the EEPROM write time, the device will not acknowledge its slave address because it is busy. It is possible to take advantage of this phenomenon by repeatedly addressing the DS3503, which allows communication to continue as soon as the DS3503 is ready. The alternative to acknowledge polling is to wait for a maximum period of tW to elapse before attempting to access the device. EEPROM write cycles: The DS3503's EEPROM write cycles are specified in the Nonvolatile Memory Characteristics table. The specification shown is at the worst-case temperature (hot) as well as at room temperature. Writing to WR/IVR with CR = 80h does not count as a EEPROM write.
10
______________________________________________________________________________________
NV, I2C, Stepper Potentiometer DS3503
TYPICAL I2C WRITE TRANSACTION MSB START 0 1 0 1 0 0 0 LSB R/W SLAVE ACK MSB b7 b6 b5 b4 b3 b2 b1 LSB b0 SLAVE ACK MSB b7 b6 b5 b4 b3 b2 b1 LSB b0 SLAVE ACK STOP
SLAVE ADDRESS
READ/ WRITE
REGISTER ADDRESS
DATA
EXAMPLE I2C TRANSACTIONS 50h A) SINGLE-BYTE WRITE -WRITE STEP CONTROL REGISTER (SCR) TO 1Fh B) SINGLE-BYTE READ -READ CONTROL REGISTER (CR) START 01010000 01h SLAVE 00000 001 ACK 1Fh SLAVE SLAVE 00011111 ACK ACK 51h REPEATED START 01010 001 SLAVE ACK DATA MASTER NACK STOP
STOP
50h START 01010000
02h SLAVE SLAVE 00000 010 ACK ACK
Figure 3. I2C Communication Examples
Reading a single byte from a slave: Unlike the write operation that uses the specified memory address byte to define where the data is to be written, the read operation occurs at the present value of the memory address counter. To read a single byte from the slave, the master generates a START condition, writes the slave address byte with R/W = 1, reads the data byte with a NACK to indicate the end of the transfer, and generates a STOP condition. However, because requiring the master to keep track of the memory address counter is impractical, the following method should be used to perform reads from a specified memory location. Manipulating the address counter for reads: A dummy write cycle can be used to force the address counter to a particular value. To do this the master generates a START condition, writes the slave address byte (R/W = 0), writes the memory address where it desires to read, generates a repeated START condition, writes the slave address byte (R/W = 1), reads data with ACK or NACK as applicable, and generates a STOP condition. See Figure 3 for a read example using the repeated START condition to specify the starting memory location.
Applications Information
Power-Supply Decoupling
To achieve the best results when using the DS3503, decouple both the power-supply pin (V CC) and the wiper-bias voltage pin (V+) with a 0.01F or 0.1F capacitor. Use a high-quality ceramic surface-mount capacitor if possible. Surface-mount components minimize lead inductance, which improves performance, and ceramic capacitors tend to have adequate highfrequency response for decoupling applications.
SDA and SCL Pullup Resistors
SDA is an I/O with an open-collector output that requires a pullup resistor to realize high-logic levels. A master using either an open-collector output with a pullup resistor or a push-pull output driver must be used for SCL. Pullup resistor values should be chosen to ensure that the rise and fall times listed in the I2C AC Electrical Characteristics are within specification. A typical value for the pullup resistors is 4.7k.
______________________________________________________________________________________
11
NV, I2C, Stepper Potentiometer DS3503
Typical Operating Circuit
R1 GATE 1 TFT G1 B1
CSTOR
CLCD
GATE 2
GATE 3
VCOM 3.0V 15.0V
I2C
SDA SCL SYNC
VCC
V+
RH RW
DS3503
GND RL Y
Package Information
For the latest package outline information and land patterns, go to www.maxim-ic.com/packages. PACKAGE TYPE 10 SOP PACKAGE CODE U10+2 DOCUMENT NO. 21-0061
12
______________________________________________________________________________________
NV, I2C, Stepper Potentiometer
Revision History
REVISION NUMBER 0 REVISION DATE 11/08 Initial release. * Added the following sentence to the end of the Step Control Register (SCR) section: "A STEPCOUNT of 1 is an invalid setting. The DS3503 should not be programmed with a STEPCOUNT value of 00001." * Added the following sentence to the Stepping section: "STEPCOUNT = 1 is an invalid setting." * Changed the minimum number of steps for the STEPCOUNT bits in the Step Control Register Description (01h) table (Table 2) from 0 to 2. * Changed the 0 0001 DAC range in the DAC Stepping Range table (Table 4) from "WR-1 to WR+1" to "Invalid setting. Do not program." DESCRIPTION PAGES CHANGED --
DS3503
1
3/09
7, 8
Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are implied. Maxim reserves the right to change the circuitry and specifications without notice at any time.
Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 ____________________ 13
(c) 2009 Maxim Integrated Products Maxim is a registered trademark of Maxim Integrated Products, Inc.


▲Up To Search▲   

 
Price & Availability of DS3503U

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X